package com.lhz.project.system.model.vo.auth;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @Author: LiHuaZhi
 * @Date: 2021/6/14 22:46
 * @Description:
 **/
@Data
@Schema(description = "菜单树数据")
public class MenuTreeVo {

    /**
     * 节点ID
     */
    @Schema(description = "节点ID")
    private Integer id;

    /**
     * 节点父ID
     */
    @Schema(description = "节点父ID")
    private Integer parentId;

    /**
     * 节点名称
     */
    @Schema(description = "节点名称")
    private String label;
    /**
     * 子节点
     */
    @Schema(description = "子节点")
    private List<MenuTreeVo> children;

}
